Binary Countdown & Sequential State Transition Simulator
| Count Pulse # | Q3 (MSB) | Q2 | Q1 | Q0 (LSB) | Binary | Decimal | Hex | Next State |
|---|
| Feature | Down Counter | Up Counter |
|---|---|---|
| Counting Direction | Decrements: 15 → 14 → 13 → ... → 0 → 15 | Increments: 0 → 1 → 2 → ... → 15 → 0 |
| Reset / Initial State | Default resets to maximum state 1111 (Decimal 15). |
Default resets to minimum state 0000 (Decimal 0). |
| Clocking Logic (Async) | Negative-edge FFs use inverted outputs Q' as clock for next stage. | Negative-edge FFs use non-inverted outputs Q as clock for next stage. |
| LSB Transition | Q0 toggles on every active clock edge. | Q0 toggles on every active clock edge. |
| Modulus & States | MOD-16 (24 = 16 states: 15 down to 0). | MOD-16 (24 = 16 states: 0 up to 15). |
| Primary Applications | Countdown timers, stopwatches, frequency dividers, inventory decrementers. | Event accumulators, pulse counters, address generators, digital clocks. |
A Down Counter is a sequential digital logic circuit that decrements its binary state by 1 on each active clock transition. In a 4-bit down counter, the output sequences from 1111 (15) down to 0000 (0) and rolls back over to 1111 (15) on the 16th clock pulse.
Subtracting 1 in binary causes the Least Significant Bit (Q0) to toggle on every active clock edge. Higher-order bits (Q1, Q2, Q3) toggle when all preceding lower-order bits transition from 0 to 1 (or 1 to 0 depending on clocking trigger logic).
With 4 cascaded T flip-flops, the total number of distinct states is N = 2n = 24 = 16. This makes it a MOD-16 Down Counter. The counting cycle is complete when it rolls over from state 0 (0000) back to state 15 (1111).